package com.zhu.tool_test.starke.util.lang;

import java.util.List;

/**
 * @author: ztrue
 * @date: 2019-07-22
 */
public class Lists {

    public static <T> boolean isNullOrEmpty(List<T> list) {
        return list == null || list.size() == 0;
    }

    public static <T> boolean isNotNullOrEmpty(List<T> list) {
        return !isNullOrEmpty(list);
    }

}
